package com.systop.party05.base;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;

import com.google.gson.Gson;
import com.systop.party05.http.CommonOkhttp;
import com.systop.party05.utils.ToastUtils;


public class BaseFragment extends Fragment {

    public CommonOkhttp commonOkhttp;
    public Gson gson;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        gson = new Gson();
        commonOkhttp = new CommonOkhttp();
    }

    public void showMessage(String message) {
        ToastUtils.getInstance(getActivity()).showMessage(message);
    }
}